package com.krain.ddbb.entity;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;

/**
 * Created by ex-kuangxiaomin101 on 2016-01-13.
 */
public class UserOrderBean implements Parcelable {

    private ArrayList<UserIssueBean> list;

    public ArrayList<UserIssueBean> getList() {
        return list;
    }

    public void setList(ArrayList<UserIssueBean> list) {
        this.list = list;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeTypedList(list);
    }

    public UserOrderBean() {
    }

    protected UserOrderBean(Parcel in) {
        this.list = in.createTypedArrayList(UserIssueBean.CREATOR);
    }

    public static final Creator<UserOrderBean> CREATOR = new Creator<UserOrderBean>() {
        public UserOrderBean createFromParcel(Parcel source) {
            return new UserOrderBean(source);
        }

        public UserOrderBean[] newArray(int size) {
            return new UserOrderBean[size];
        }
    };

    @Override
    public String toString() {
        return "UserOrderBean{" +
                "list=" + list +
                '}';
    }
}
